package com.bbzn.device.client.utils.app.push.ios;

import com.bbzn.device.client.utils.IOSNotification;

/**
 * @Author: wulongbo
 * @Date : 2021/3/22 19:16
 * @Version 1.0
 */
public class IOSUnicast extends IOSNotification {
    public IOSUnicast(String appkey, String appMasterSecret) throws Exception {
        setAppMasterSecret(appMasterSecret);
        setPredefinedKeyValue("appkey", appkey);
        this.setPredefinedKeyValue("type", "unicast");
    }

    public void setDeviceToken(String token) throws Exception {
        setPredefinedKeyValue("device_tokens", token);
    }
}
